// vite.config.ts
import { defineConfig } from "file:///E:/test-build/vite-project/node_modules/.pnpm/vite@5.4.3/node_modules/vite/dist/node/index.js";
import { vitePlugin } from "file:///E:/ebonex-cli-feat-access/packages/vite/dist/index.js";
import { visualizer } from "file:///E:/test-build/vite-project/node_modules/.pnpm/rollup-plugin-visualizer@5.12.0_rollup@4.21.2/node_modules/rollup-plugin-visualizer/dist/plugin/index.js";

// src/routes.ts
var routes_default = [
  {
    path: "/a",
    element: "@/a1.tsx",
    access: "wew"
  },
  {
    path: "/app",
    element: "@/app.tsx",
    access: "222"
  },
  {
    path: "/h1",
    element: "@/h1.tsx",
    access: "222"
  },
  {
    path: "/h2",
    element: "@/h2.tsx",
    access: "222"
  }
];

// vite.config.ts
var vite_config_default = defineConfig({
  plugins: [vitePlugin({
    routes: routes_default
  }), visualizer()],
  resolve: {
    alias: {
      "@": "/src/",
      qps: "/src/.qps/exports.ts"
    }
  },
  build: {
    assetsDir: "",
    minify: true,
    rollupOptions: {
      output: {
        entryFileNames: `index.js`,
        assetFileNames(chunkInfo) {
          if (chunkInfo.name?.includes("css")) {
            return `index.css`;
          }
          return chunkInfo.name || "";
        }
      }
    },
    cssCodeSplit: false
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiLCAic3JjL3JvdXRlcy50cyJdLAogICJzb3VyY2VzQ29udGVudCI6IFsiY29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2Rpcm5hbWUgPSBcIkU6XFxcXHRlc3QtYnVpbGRcXFxcdml0ZS1wcm9qZWN0XCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCJFOlxcXFx0ZXN0LWJ1aWxkXFxcXHZpdGUtcHJvamVjdFxcXFx2aXRlLmNvbmZpZy50c1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9pbX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